import styled from 'styled-components'

export const LongforWrapper = styled.div`
    flex-shrink: 0;
    width: 20%;

    .inner {
        position: relative;
        padding: 8px;

        .cover {
            width: 100%;
            border-radius: 8px;
        }
        

        .bg-cover {
            position: absolute;
            left: 8px;
            right: 8px;
            bottom: 0;
            height: 60%;
            background: linear-gradient(-180deg, rgba(0, 0, 0, 0) 3%,rgb(0, 0, 0) 100%);
            border-radius: 0 0 8px 8px;
        }

        .info {
            position: absolute;
            left: 8px;
            right: 8px;
            bottom: 0;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0 24px 32px;

            .city {
                font-size: 18px;
                font-weight: 600;
            }

            .price {
                font-size: 14px;
                margin-top: 5px;
            }
        }
    }
`